Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Commandos #287

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open

Code Commandos #287

wants to merge 30 commits into from

Conversation

Sahilll94
Copy link

No description provided.

Fixed the bug on line 2
Fixed the bug on line 6
Fixed the bug on line 2
Fixed the bug on line 3
Fixed the code from line 13
fixed the error on line 13
fixed error on line 13 by adjusting the range in the third for loop to start from len(arr) - 1
Fixed the error by DMA used malloc for allocating memory and free for deallocating the memory
Modified the recursive call in except block
Initialized counter to 0
We made the changes in function computeAverage that takes the array x and its size N directly as arguments.
the dereference operator should be applied before the increment operator.
Initialize the variable r to 1 by assigning the value 1 to it
Pass the object a by reference
Modify the loop to start from 0 to n-1.
modified the assignment x
we have performed integer division using // to ensure that the result is an integer
we declared the Check() function before it is called in the Upper() function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant